﻿using System;
using System.Collections.Generic;
using BehaviorModel;
using CommandLogic.Data;

namespace CommandLogic.Command
{
    public class DeleteBlockCommand : IQsmCommand
    {
        public CommandData Execute(CommandData data)
        {
            var blockData = (BlockData) data;
            BlockController.GetInstance().RemoveBlock(blockData.Block);

            return null;
        }

    }

}
